<%--
  Created by IntelliJ IDEA.
  User: 娅娅
  Date: 2021/6/21
  Time: 20:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>水果详情</title>
</head>
<body>
<form action="FruitUpdateServlet" method="get">
    <div style="width:300px;" align="center" >

        <table border="1">
            <tr>

                <td align="center" colspan="2">
                    <h2 >水果详情</h2>
                    <input type="hidden" name="fruitId" value="${f.fruitId}">
                </td>
            </tr>
            <tr>
                <td><strong>类别：</strong></td>
                <td><input type="text"  value="${f.type }" name="type"></td>
            </tr>
            <tr>
                <td><strong>品种：</strong></td>
                <td><input type="text"  value="${f.breed }" name="breed"></td>
            </tr>
            <tr>
                <td><strong>产地：</strong></td>
                <td><input type="text"  value="${f.area}" name="area"></td>
            </tr>
            <tr>
                <td><strong>简介：</strong></td>
                <td><input type="text"  value="${f.brief }" name="brief"></td>
            </tr>
            <tr>
                <td><strong>重量：</strong></td>
                <td><input type="text"  value="${f.weight }" name="weight"></td>
            </tr>
            <tr>
                <td><strong>单价：</strong></td>
                <td><input type="text"  value="${f.price }" name="price"></td>
            </tr>
            <tr>
                <td align="center" colspan="2"><input type="submit" value="修改"/>
                </td>
            </tr>
        </table>
    </div>
</body>
</html>
